<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Snake Game</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="back-to-home">
        <a href="../index.html">🏠 Back to Game Hall</a>
    </div>
    <h1>Snake Game</h1>
    <div class="game-container">
        <canvas id="gameCanvas" width="400" height="400"></canvas>
        <div class="game-info">
            <p>Score: <span id="score">0</span></p>
            <p id="message"></p>
            <button id="startButton">Start Game</button> <!-- Start Button -->
            <button id="restartButton" class="hidden">Restart Game</button>
        </div>
        </div>
    </div>
    <script src="script.js"></script>
</body>
</html>
